package Bing;

import java.util.Objects;
import java.util.Scanner;

public class demo1 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int sum = 0;
        String s = sc.nextLine();
        Scanner scanner = new Scanner(s);
        while (scanner.hasNextInt()){
            int next = scanner.nextInt();
            sum += next;
        }
        System.out.println(sum);
    }
}
